package com.kuaimacode.kframework.mybatis.models.agent;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 分站物品品类设置
 * </p>
 *
 * @author Bean
 * @since 2019-03-12
 */
@TableName("sys_agent_category_cfg")
@Data
public class SysAgentCategoryCfg implements Serializable {
	@TableField(exist = false)
    private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.AUTO)
	private BigInteger id;
    /**
     * 分站id
     */
	@ApiModelProperty(value = "分站id")
	@TableField("agent_id")
	private String agentId;
    /**
     * 1帮我送 2 帮我取 3 随意购 4 上门技术服务
     */
	@ApiModelProperty(value = "服务类型")
	@TableField("type")
	private Integer type;
    /**
     * 分类名称
     */
	@ApiModelProperty(value = "分类名称")
	@TableField("category")
	private String category;
    /**
     * 配送起始重量
     */
	@ApiModelProperty(value = "配送起始重量")
	@TableField("weight_begin")
	private Integer weightBegin;
    /**
     * 最高重量
     */
	@ApiModelProperty(value = "最高重量")
	@TableField("weight_end")
	private Integer weightEnd;
    /**
     * 超重后每公斤费用
     */
	@ApiModelProperty(value = "超重后每公斤费用")
	@TableField("weight_extra_price")
	private BigDecimal weightExtraPrice;
    /**
     * 最低保价
     */
	@ApiModelProperty(value = "最低保价")
	@TableField("parcel_insu_begin")
	private BigDecimal parcelInsuBegin;
    /**
     * 保价最高
     */
	@ApiModelProperty(value = "保价最高")
	@TableField("parcel_Insu_End")
	private BigDecimal parcelInsuEnd;
    /**
     * 保费比例
     */
	@ApiModelProperty(value = "保费比例")
	@TableField("parcel_Insu_Rate")
	private BigDecimal parcelInsuRate;
    /**
     * 师傅提成比例
     */
	@ApiModelProperty(value = "师傅提成比例")
	@TableField("draw_Rate")
	private BigDecimal drawRate;
    /**
     * 代收款服务费比例
     */
	@ApiModelProperty(value = "代收款服务费比例")
	@TableField("collecting_Service_Rate")
	private BigDecimal collectingServiceRate;
    /**
     * 起步里程
     */
	@ApiModelProperty(value = "起步里程")
	@TableField("initiate_Km")
	private BigDecimal initiateKm;
    /**
     * 起步价
     */
	@ApiModelProperty(value = "起步价")
	@TableField("initiate_Price")
	private BigDecimal initiatePrice;

	@ApiModelProperty(value = "超出起步里程每公里单价")
	@TableField("over_Init_Km_Price")
	private BigDecimal overInitKmPrice;
    /**
     * 超出里程
     */
	@ApiModelProperty(value = "超出里程")
	@TableField("exceed_Km")
	private BigDecimal exceedKm;
    /**
     * 超出里程每公里额外加价
     */
	@ApiModelProperty(value = "超出里程每公里额外加价")
	@TableField("exceed_Extra_Price")
	private BigDecimal exceedExtraPrice;


	@ApiModelProperty(value = "随意购热门商品")
	@TableField("hot_goods")
	private String hotGoods;

    /**
     * 上次更新时间
     */
	@ApiModelProperty(value = "上次更新时间")
	@TableField("update_at")
	private Date updateAt;
	@ApiModelProperty(value = "上次更新人")
	@TableField("update_by")
	private Long updateBy;
	@ApiModelProperty(value = "创建时间")
	@TableField("create_at")
	private Date createAt;
	@ApiModelProperty(value = "创建人")
	@TableField("create_by")
	private Long createBy;
    /**
     * 删除标识 0 否 1 是
     */
	@ApiModelProperty(value = "删除标识")
	@TableField("delete_state")
	private Integer deleteState;

	@ApiModelProperty(value = "类型图标")
	@TableField("icon")
	private String icon;

	@ApiModelProperty(value = "类型图标(选中)")
	@TableField("icon_pre")
	private String iconPre;

	@ApiModelProperty(value = "关联总后台id")
	@TableField("sys_category_id")
	private String sysCategoryId;


}
